package com.lx.principles.demo3;

/**
 * @ClassName XiJieHardDisk
 * @Description: 杰西硬盘
 * @Author: 落雪
 * @CreateDate: 2025/1/12 14:03
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/12 14:03
 * @UpdateRemark:
 * @Version: 1.0
 */
public class XiJieHardDisk implements HardDisk {


    private String data;
    @Override
    public void save(String data) {
        this.data = data;
        System.out.println("杰西硬盘存储数据:"+data);
    }

    @Override
    public String get() {
        return "杰西硬盘加载数据:"+data;
    }
}
